<form name="upload_wm"  enctype="multipart/form-data" method="post" action="index.php">
<input type="hidden" name="function" value="{function}" />
<input type="hidden" name="filename" value="{filename}" />
<input type="hidden" name="id" value="{id}">
<input type="hidden" name="module" value="watermark" />
<input type="hidden" name="redirect" value="<?echo($_SERVER['HTTP_REFERER']);?>" />


<table border="0" width="100%" align="center" class="tabelka2">
  <tr>
    <td width="100" class="row_2" align="center"><?echo($lang['file_name'].':');?></td>
    <td width="100" align="left" class="row_2"><input name="name" type="text" class="button" value="{name}" /></td>
  </tr>  
  <tr valign="top">
   <td class="row_1" align="center"><?echo($lang['admin_image']);?></td>
   <?php if('{function}' == 'watermark_edit')
   {
   ?>
   <td align="left" valign="top" class="row_1"><input type="radio" name="how_image" class="radio" value="no_change" checked /><br />
   <img src="{src}" alt="" /></td>
   </tr>
   <tr>
   <td class="row_1" align="left"></td>
   <?php
   }
   ?>
	<td align="left" class="row_1"><input type="radio" name="how_image" class="radio" value="form" class="button">
    <?echo($lang['disk']);?><br />
    <input type="file" name="image_form" class="button" /></td>
  </tr>
  <tr>
    <td class="row_1" align="left"></td>
    <td align="left" class="row_1">
      <input type="radio" name="how_image" class="radio" value="link"  class="button"{checked} />
      <?echo($lang['url']);?><br /><input type="text" name="image_link" class="button" value="http://" class="button" />
      </td>	  
  </tr>
  <tr>
    <td></td>
    <td><input name="send" type="submit" id="send" value="<?echo($lang['submit']);?>" class="button" /></td>
  </tr>
</table>
</form>

